package com.example.demo.enumTest;

/**
 * @Author: njz
 * @Description:
 * @Date: create in 2022/9/20 14:40
 */
public class Calculator {
    public int calculate(int a, int b, Operate operate){
        return operate.apply(a, b);
    }
}
